The network is divided from bottom to topThe physical layer, the data link layer, the network layer, the Transport layer, the session layer, the presentation layer, and the application layer.with a preliminary understanding, I know that the IP
Network Programming in Pythonfirst, socket () ModuleSecond, create a TCP serverThird, create a TCP clientFirst,socket moduleSocket:Sockets are originally created for applications on the same host, allowing a program (aka one process) running on the
[Python] network programming Socket, TCP and UDP communication instancesI have studied network communication between C # And C ++ a long time ago. Refer to my article:C # network programming-client-server chat using TcpC # basic knowledge of network
HTTP protocol: Simple Object Access Protocol, corresponding to the application layer, HTTP protocol is based on TCP connection
TCP Protocol: Corresponds to the transport layer
IP Protocol: Corresponds to the network layer
TCP/IP is a Transport
1. TCP/IP layered model
Of course, here we will only discuss the important layer-4
01. Application Layer (Application Layer): the Application layer is a broad concept. It has some similar system-level TCP/IP applications and Application protocols,
The network is divided from bottom to top : corresponding Physical Layer-- Data Link layer-- Network Layer--IP protocol Transport Layer--TCP protocol Session Layer-- presentation layer and Application Layer-HTTP protocol 1. TCP/IP connection Mobile
Differences between Http, TCP/IP protocol and Socket
The network is divided from bottom up:
Physical Layer --
Data link layer --
Network Layer-IP protocol
Transport Layer-TCP protocol
Session Layer --
Presentation layer and application layer-HTTP
1, how to communicate between processes in the network?The local interprocess communication (IPC) is available in a number of ways, but can be summarized in the following 4 categories:Message delivery (pipeline, FIFO, Message Queuing)Synchronization
In the literal sense TCP/IP is the general term for TCP and IPs, but in fact the TCP/IP protocol refers to the entire TCP/IP protocol family. Unlike the ISO model's seven tiers, the TCP/IP protocol Reference Model classifies all TCP/IP series
The difference between HTTP, TCP/IP protocol and socket Network is divided from bottom to top: www.2cto.com Physical Layer- &NBSP Data Link layer--network layer-- IP Protocol Transport Layer--
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.